package com.itmk.business.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itmk.business.article.entity.ArticleTags;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ArticleTagsMapper extends BaseMapper<ArticleTags> {

    @Select("select count(*) from articletags " +
            "where tagname=#{tag} and type=#{type}")
    Integer  SelectCountNum(String tag,Integer type);

}
